package com.teach.entity;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;

import lombok.Data;

/**
 * 
 * @author J.L.Zhou
 *
 */
@Data
public class UserInfo {
    private String userName;

    private Integer roleId;

    private String userPwd;

    private String userRealName;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date userBirthdate;

    private Boolean userSex;

    private String userTel;

    private String userQq;

    private String userIdcard;

    private String userAddress;

    private Boolean userLocked;

    private Date userRegisterTime;

    private String userImg;

    private String userLastIp;
    
    private Date userLastTime;

    private String userLastId;    
    
}
